<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    {:build_input($auth->username,'update_user','row[update_user]','hidden') }

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Club_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-club_id" data-rule="required" data-source="sport/club/index" class="form-control selectpage" name="row[club_id]" type="text" value="{$row.club_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Country_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-country_id" data-rule="required" data-source="country/index" class="form-control selectpage" name="row[country_id]" type="text" value="{$row.country_id|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Main_team')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-main_team_id" data-rule="required" data-source="sport/team/index" class="form-control selectpage" name="row[main_team_id]" type="text" value="{$row.main_team_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Visiting_team')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-visiting_team_id" data-rule="required" data-source="sport/team/index" class="form-control selectpage" name="row[visiting_team_id]" type="text" value="{$row.visiting_team_id|htmlentities}">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('上半场比分')}:</label>
        <div class="col-xs-12 col-sm-1">
            <input id="c-first_half_m_score" data-rule="required" class="form-control" name="row[first_half_m_score]" type="text" value="{$row.first_half_m_score|htmlentities}">
        </div>
        <div class="col-xs-12 col-sm-1"> -</div>
        <div class="col-xs-12 col-sm-1">
            <input id="c-first_half_v_score" data-rule="required" class="form-control" name="row[first_half_v_score]" type="text" value="{$row.first_half_v_score|htmlentities}">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('下半场比分')}:</label>
        <div class="col-xs-12 col-sm-1">
            <input id="c-second_half_m_score" data-rule="required" class="form-control" name="row[second_half_m_score]" type="text" value="{$row.second_half_m_score|htmlentities}">
        </div>
        <div class="col-xs-12 col-sm-1"> -</div>
        <div class="col-xs-12 col-sm-1">
            <input id="c-second_half_v_score" data-rule="required" class="form-control" name="row[second_half_v_score]" type="text" value="{$row.second_half_v_score|htmlentities}">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('全场比分')}:</label>
        <div class="col-xs-12 col-sm-1">
            <input id="c-full_m_score" data-rule="required" class="form-control" name="row[full_m_score]" type="text" value="{$row.full_m_score|htmlentities}">
        </div>
        <div class="col-xs-12 col-sm-1"> -</div>
        <div class="col-xs-12 col-sm-1">
            <input id="c-full_v_score" data-rule="required" class="form-control" name="row[full_v_score]" type="text" value="{$row.full_v_score|htmlentities}">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ori_match_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ori_match_time" data-rule="required" class="form-control" name="row[ori_match_time]" type="text" value="{:$row.ori_match_time }">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Match_month')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-match_month" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[match_month]" type="text" value="{$row.match_month}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Match_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-match_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[match_date]" type="text" value="{$row.match_date}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Match_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-match_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[match_time]" type="text" value="{:$row.match_time?datetime($row.match_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hour')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hour" data-rule="required" class="form-control" name="row[hour]" type="text" value="{$row.hour|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Minute')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-minute" data-rule="required" class="form-control" name="row[minute]" type="text" value="{$row.minute|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remark" data-rule="" class="form-control " rows="5" name="row[remark]" cols="50">{$row.remark|htmlentities}</textarea>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
